<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'P_id'); ?>
		<?php echo $form->textField($model,'P_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'P_uid'); ?>
		<?php echo $form->textField($model,'P_uid'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'P_eid'); ?>
		<?php echo $form->textField($model,'P_eid'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'P_fname'); ?>
		<?php echo $form->textField($model,'P_fname',array('size'=>30,'maxlength'=>30)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'P_lname'); ?>
		<?php echo $form->textField($model,'P_lname',array('size'=>30,'maxlength'=>30)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'P_minitial'); ?>
		<?php echo $form->textField($model,'P_minitial',array('size'=>1,'maxlength'=>1)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'P_address'); ?>
		<?php echo $form->textArea($model,'P_address',array('rows'=>6, 'cols'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'P_city'); ?>
		<?php echo $form->textArea($model,'P_city',array('rows'=>6, 'cols'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'P_state'); ?>
		<?php echo $form->textField($model,'P_state',array('size'=>2,'maxlength'=>2)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'P_zip'); ?>
		<?php echo $form->textField($model,'P_zip'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'P_age'); ?>
		<?php echo $form->textField($model,'P_age'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'P_current_grade'); ?>
		<?php echo $form->textField($model,'P_current_grade'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'P_school_district'); ?>
		<?php echo $form->textArea($model,'P_school_district',array('rows'=>6, 'cols'=>50)); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->